// ============================== 导入依赖 ============================== //

// ============================== 导出配置 ============================== //

export default {
  tooltip: {
    trigger: 'item',
  },
  color: ['#00B07E', '#FFDB7D'],
  legend: {
    bottom: '5%',
    left: 'center',
    orient: 'vertical',
    icon: 'circle',
  },
  series: [
    {
      name: '工单状态',
      type: 'pie',
      center: ['50%', '37%'],
      radius: ['30%', '55%'],
      avoidLabelOverlap: false,
      label: {
        show: false,
        position: 'center',
      },
      emphasis: {
        label: {
          show: false,
          fontSize: '40',
          fontWeight: 'bold',
        },
      },
      labelLine: {
        show: false,
      },
      itemStyle: {
        borderColor: '#fff',
        borderWidth: 3,
        shadowColor: 'rgba(183, 193, 224, 0.68)',
        shadowBlur: 20,
      },
      tooltip: {
        formatter: '{b}<br />{d}%　{c}单',
        borderColor: '#fff',
        padding: [5, 10],
        textStyle: {
          color: '#409EFF',
        },
      },
      data: [
        { value: 1048, name: '已完成' },
        { value: 735, name: '未完成' },
      ],
    },
  ],
}
